//
// Created by pengtg on 2020/2/26.
//

#ifndef ANDROIDVIDEOPLAYER_FFRESAMPLE_H
#define ANDROIDVIDEOPLAYER_FFRESAMPLE_H


#include "IResample.h"
struct SwrContext;
class FFResample: public IResample
{
public:
    virtual bool Open(XParameter in,XParameter out=XParameter());
    virtual void Close();
    virtual XData Resample(XData indata);
protected:
    SwrContext *actx = 0;
    std::mutex mux;
};


#endif //ANDROIDVIDEOPLAYER_FFRESAMPLE_H
